/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package MinhNH;

import Entity.Account;
import javax.ejb.Local;

/**
 *
 * @author dukynguyen
 */
@Local
public interface MinhNHSessionBeanLocal {

    boolean RegisterAccount(String username, String password, String fullname, String email, String gender, String birthday, String avatar, String address, String phone, String school);

    boolean UpdateProfile(String username, String password, String fullname, String avatar, String address, String phone, String school);

    boolean LockAccount(String username);

    boolean UnlockAccount(String username);

    Entity.Account[] getAccount();

    Account findAccountByPrimarykey(String username);

    Entity.Account[] findEmailOfAccount(String email);

    boolean changePass(String user, String pass);
    
}
